//
//  CheckBoxTableViewCell.h
//  test
//
//  Created by Billy on 15/7/8.
//  Copyright (c) 2015年 seven. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CheckBoxTableViewCell;

typedef NS_ENUM(NSInteger, SelectionButton){
    
    SelectionButtonEnabled, //选中
    SelectionButtonDisabled, //未选中
};


@protocol CheckBoxTableViewCellDelegate <NSObject>

- (void)didClickButtonAtIndex:(SelectionButton) button atCell:(CheckBoxTableViewCell *)cell andIndex:(NSInteger) index ;

@end




@interface CheckBoxTableViewCell : UITableViewCell

@property (nonatomic,strong) UILabel *titiLab;
@property (nonatomic,assign) id<CheckBoxTableViewCellDelegate> delegate;
@property (nonatomic,strong) CheckBoxTableViewCell *cell; //哪一个cell被点击
@property (nonatomic,assign) NSInteger index ;//点击的cell的index.row
@property (nonatomic,copy) NSString * labStr;
@property (nonatomic,strong) UILabel *yesLab;
@property (nonatomic,strong) UILabel *noLab;

@end
